﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Dissemination.MVC.ViewModels.ReporterManagerViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Edit
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h1>Edit reporter details</h1>

    <% using (Html.BeginForm()) {%>
        <%= Html.ValidationSummary(true) %>

            <%= Html.EditorFor(model => model.Reporter, new { Genders = Model.Genders }) %>

    <% } %>

    <p class="enlaces">
        <a href="#" onclick="document.forms[0].submit()" > Save reporter details </a>
    </p>
    
    
    
    <div class="navigation">
    <p class="enlaces">
    <%= Html.ActionLink("Back to target area details", "Details", "TargetArea", new { id = Model.Reporter.TargetArea.TargetAreaID, programID = Model.Reporter.TargetArea.Program.ProgramID }, null)%>
    </p>
</div>
</asp:Content>

